<%@page import="RssEasy.Core.CookieHelper"%>
<%@page import="Model.Product.ProductList"%>
<%
    CookieHelper cookie=new CookieHelper(request, response);
    ProductList plt = new ProductList(pageContext);
    plt.request();
    plt.select("count(*) as num").where("name like '%"+plt.get("name") +"%' and ptstate like '%"+plt.get("ptstate") +"%' and myid= "+cookie.Get("myid")+"").get_first_rows();
    plt.write("num");

   
%>
